<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="EduBot - 智能教育评估系统，提供专业的教育教学评估服务">
    <title>EduBot - 智能教育评估系统</title>
    <link rel="icon" href="/static/icons/AiKeTangJiaoXuePingCeXiTong.png" type="image/png">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
    <link rel="preload" href="/static/icons/AiWorkShop_icon.png" as="image">
    <link rel="preload" href="/static/icons/AiKeTangJiaoXuePingCeXiTong.png" as="image">
    <link rel="preload" href="/static/images/all_people/1.png" as="image">
    <link rel="preload" href="/static/images/all_people/2.png" as="image">
    <link rel="preload" href="/static/images/all_people/3.png" as="image">
    <link rel="preload" href="/static/images/all_people/4.png" as="image">
    <link rel="preload" href="/static/images/all_people/5.png" as="image">
    <link rel="preload" href="/static/images/all_people/6.png" as="image">
    <link rel="preload" href="/static/qr_code/my_wechat_qr_code.jpg" as="image">
    <style>
        :root {
            --_rs-theme-dark: var(--_rs-internal-force-theme-dark-consult-rescui-before-using, var(--rs-theme-dark, 0));
            --_rs-theme-flip: var(--rs-theme-flip, 0);
            --_rs-theme-dark-coefficient: calc(var(--_rs-theme-dark) * (1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip) * (1 - var(--_rs-theme-dark)));
            --_rs-theme-light-coefficient: calc(1 - var(--_rs-theme-dark-coefficient));
            --rs-text-base-letter-spacing: 0.08em;
            --_rs-typography-letter-spacing: 0.08em;
            --_rs-typography-text-transform: none;
            --_rs-typography-font-family: 'Segoe UI', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --_rs-typography-font-size: 2.2rem;
            --_rs-typography-font-weight: bold;
            --_rs-typography-line-height: 1.2;
            --_rs-typography-font-variant-numeric: normal;
            --_rs-typography-base-color: #fff;
            --_rs-typography-subtitle-font-size: 3.3rem;
            --_rs-typography-custom-font-size: 1.8rem;
            --_rs-typography-custom-font-weight: 300;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #000;
        }

        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--site-header-bg,var(--rs-color-black,#19191c));
            color: #fff;
            padding: 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo img {
            height: 2.2rem;
            width: 2.2rem;
            display: block;
        }

        .logo span {
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
            letter-spacing: 0.04em;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
        }

        .nav-links a {
            color: #cccccc;
            text-decoration: none;
            font-size: 1.15rem;
            font-weight: 400;
            letter-spacing: 0.06em;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: #f2f2f2;
        }

        .nav-links a i {
            margin-right: 0.5em;
            font-size: 1.1em;
            vertical-align: middle;
        }

        .main-content {
            margin-top: 80px;
            padding: 2rem;
        }

        .icon-title-row {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            margin-left: 0;
            margin-top: 5%;
            gap: 0.2rem;
            max-width: 1200px;
            margin: 80px auto 0;
            padding: 0 1rem;
            width: 100%;
            position: relative;
        }
        .icon-title-text {
            letter-spacing: var(--rs-text-base-letter-spacing, var(--_rs-typography-letter-spacing));
            text-transform: var(--_rs-typography-text-transform);
            font-family: var(--_rs-typography-font-family);
            font-size: var(--_rs-typography-font-size);
            font-weight: var(--_rs-typography-font-weight);
            line-height: var(--_rs-typography-line-height);
            font-variant-numeric: var(--_rs-typography-font-variant-numeric);
            font-feature-settings: "kern", "liga", "calt";
            color: var(--_rs-typography-base-color);
            padding-top: 1%;
            display: flex;
            flex-direction: column;
            gap: 3%;
        }
        .subtitle-text {
            --_rs-theme-dark: var(--_rs-internal-force-theme-dark-consult-rescui-before-using, var(--rs-theme-dark, 0));
            --_rs-theme-flip: var(--rs-theme-flip, 0);
            --_rs-theme-dark-coefficient: calc(var(--_rs-theme-dark) * (1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip) * (1 - var(--_rs-theme-dark)));
            --_rs-theme-light-coefficient: calc(1 - var(--_rs-theme-dark-coefficient));
            letter-spacing: var(--rs-text-base-letter-spacing, var(--_rs-typography-letter-spacing));
            text-transform: var(--_rs-typography-text-transform);
            font-family: var(--_rs-typography-font-family);
            font-size: var(--_rs-typography-subtitle-font-size);
            font-weight: var(--_rs-typography-font-weight);
            line-height: var(--_rs-typography-line-height);
            font-variant-numeric: var(--_rs-typography-font-variant-numeric);
            font-feature-settings: "kern", "liga", "calt";
            color: var(--_rs-typography-base-color);
            margin-top: 3%;
        }
        .custom-text {
            --_rs-theme-dark: var(--_rs-internal-force-theme-dark-consult-rescui-before-using, var(--rs-theme-dark, 0));
            --_rs-theme-flip: var(--rs-theme-flip, 0);
            --_rs-theme-dark-coefficient: calc(var(--_rs-theme-dark) * (1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip) * (1 - var(--_rs-theme-dark)));
            --_rs-theme-light-coefficient: calc(1 - var(--_rs-theme-dark-coefficient));
            letter-spacing: var(--rs-text-base-letter-spacing, var(--_rs-typography-letter-spacing));
            text-transform: var(--_rs-typography-text-transform);
            font-family: var(--_rs-typography-font-family);
            font-size: var(--_rs-typography-custom-font-size);
            font-weight: var(--_rs-typography-custom-font-weight);
            line-height: var(--_rs-typography-line-height);
            font-variant-numeric: var(--_rs-typography-font-variant-numeric);
            font-feature-settings: "kern", "liga", "calt";
            color: var(--_rs-typography-base-color);
            margin-top: 4%;
        }
        .icon-glow-wrapper {
            position: absolute;
            right: 1%;
            top: 2%;
            width: 240px;
            height: 240px;
            max-width: 12%;
            min-width: 112px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .icon-glow-bg {
            position: absolute;
            top: 35%;
            left: 27%;
            width: 50%;
            height: 25%;
            background: 
                radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.5) 100%),
                radial-gradient(circle at 20% 30%, #00fff7cc 0%, transparent 60%),
                radial-gradient(circle at 80% 40%, #ff00eacc 0%, transparent 60%),
                radial-gradient(circle at 50% 80%, #39ff14cc 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, #ffe600cc 0%, transparent 60%),
                radial-gradient(circle at 30% 60%, #ff5e62cc 0%, transparent 60%),
                radial-gradient(circle at 60% 20%, #00b3ffcc 0%, transparent 60%),
                radial-gradient(circle at 40% 80%, #ff9100cc 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, #d500f9cc 0%, transparent 60%),
                radial-gradient(circle at 85% 15%, #00ff94cc 0%, transparent 60%),
                radial-gradient(circle at 75% 60%, #8c52ffcc 0%, transparent 60%),
                radial-gradient(circle at 35% 25%, #ff1744cc 0%, transparent 60%),
                radial-gradient(circle at 55% 45%, #00ffd0cc 0%, transparent 60%);
            background-size: 200% 200%;
            background-repeat: no-repeat;
            animation: iconGlowFloat 2s linear infinite;
            z-index: 1;
            filter: blur(0.5px);
            border-radius: 6px;
        }
        .icon-glow-img {
            position: relative;
            z-index: 2;
            display: block;
            width: 100%;
            height: auto;
        }
        @keyframes rotate-glow {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
        @keyframes iconGlowFloat {
            0% {
                background-position: 0% 0%, 100% 0%, 50% 100%, 100% 100%, 0% 100%;
            }
            50% {
                background-position: 100% 100%, 0% 100%, 100% 0%, 0% 0%, 100% 0%;
            }
            100% {
                background-position: 0% 0%, 100% 0%, 50% 100%, 100% 100%, 0% 100%;
            }
        }
        @media (max-width: 768px) {
            .nav-links {
                gap: 1.2rem;
            }
            .logo span {
                font-size: 1.1rem;
            }
            .nav-links a {
                font-size: 0.95rem;
            }
            .icon-glow-wrapper {
                width: 36px;
                height: 36px;
                min-width: 18px;
            }
            .icon-title-row {
                gap: 1.2rem;
            }
            .icon-title-text {
                font-size: 1.2rem;
            }
        }
        .experience-button {
            margin-top: 6%;
            padding: 1% 2%;
            background: linear-gradient(45deg, #21797a, #21797a);
            border: none;
            border-radius: 1.2rem;
            color: #fff;
            font-size: 1.2rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            box-shadow: 0 2px 12px rgba(33, 121, 122, 0.3);
            width: 16%;
            max-width: 40%;
            min-width: 110px;
        }
        .experience-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(33, 121, 122, 0.4);
            background: linear-gradient(45deg, #21797a, #21797a);
        }
        .experience-desc {
            margin-top: 2%;
            font-size: 55%;
            color: #a2adb3;
            letter-spacing: 0.08em;
            text-align: left;
            font-family: var(--_rs-typography-font-family);
            font-weight: 400;
            opacity: 0.85;
        }
        .content-block {
            max-width: 1200px;
            margin: 5% auto 0;
            padding: 0 1rem;
            width: 100%;
            background: #01191a;
            border-radius: 1rem;
            padding: 0.5% 1% 0.1% 1%;
            display: flex;
            gap: 1.5%;
            justify-content: flex-start;
            flex-wrap: wrap;
        }
        .mini-card {
            background: #01888a;
            color: #fff;
            border-radius: 0.5rem;
            width: auto;
            min-width: 10%;
            max-width: 100%;
            margin-bottom: 2%;
            padding: 0.1% 1%;
            box-shadow: 0 2px 8px rgba(1,25,26,0.06);
            font-size: 0.95rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: box-shadow 0.2s;
        }
        .mini-card:hover {
            box-shadow: 0 4px 16px rgba(1,25,26,0.12);
        }
        @media (max-width: 768px) {
            .content-block {
                flex-direction: column;
                gap: 6%;
            }
            .mini-card {
                width: 38%;
                min-width: 30%;
                font-size: 0.95rem;
                padding: 0.5% 1%;
            }
        }
    </style>
</head>
<body>
    <header class="fixed-header">
        <div class="header-content">
            <a href="/" class="logo" style="display: flex; align-items: center; gap: 0.5rem;">
                <img src="/static/icons/AiWorkShop_icon.png" alt="EduBot Logo" style="height:2.2rem;width:2.2rem;display:block;">
                <span style="display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; justify-content: center;">
                    <span style="font-size: 1rem; font-weight: 400; color: #fff; letter-spacing: 0.04em; margin-bottom: 4%;">厦门工学院</span>
                    <span style="font-size: 1rem; font-weight: 400; color: #fff; letter-spacing: 0.04em;">人工智能创作坊</span>
                </span>
            </a>
            <nav class="nav-links">
                <a href="#" id="nav-center-link"><i class="fa-solid fa-compass"></i> 导航中心</a>
                <a href="/contact"><i class="fa-solid fa-envelope"></i> 联系我们</a>
                <a href="/suggest"><i class="fa-solid fa-comment-dots"></i> 用户建议</a>
            </nav>
        </div>
    </header>

    <main class="main-content">
        <div class="icon-title-row">
            <div class="icon-title-text">
                <span>EduBot</span>
                <span class="subtitle-text" style="margin-top: 4% !important;">以量子级认知架构重塑教育维度</span>
                <span class="subtitle-text" style="margin-top: 0%;">打造教育生态的终极形态</span>
                <span class="custom-text" style="margin-top: 4%;">专为教育者定制</span>
                <a href="#" id="experience-link" class="experience-button">立即体验</a>
                <div class="experience-desc">体验智能与创新的教育新纪元</div>
            </div>
            <div class="icon-glow-wrapper">
                <div class="icon-glow-bg"></div>
                <img src="{{ url_for('static', filename='icons/AiKeTangJiaoXuePingCeXiTong.png') }}" alt="EduBot图标" class="icon-glow-img">
            </div>
        </div>
        <div class="content-block" style="flex-direction: column;">
            <div style="font-size: 2.2rem; font-weight: 500; color: #fff; margin-bottom: 1.2%; text-align: left; letter-spacing: 0.04em; width: 100%;">让每一行代码重构人类文明的基石</div>
            <div style="font-size: 1.65rem; font-weight: 400; color: #e0e0e0; margin: 0 0 3% 0; text-align: left; letter-spacing: 0.04em; line-height: 1.1; width: 100%;">
                科技不应是冰冷的符号，而是文明跃迁的火种<br>以星辰级算法重构认知边疆，以量子态算力重塑教育未来
            </div>
            <div style="display: flex; flex-wrap: wrap; gap: 1.5%; width: 100%;">
                <div class="mini-card">PPTX思维导图</div>
                <div class="mini-card">PPTX生成题目</div>
                <div class="mini-card">实时统计人数</div>
                <div class="mini-card">使用手机行为检测</div>
                <div class="mini-card">站立行为检测</div>
                <div class="mini-card">趴桌行为检测</div>
                <div class="mini-card">抬头行为检测</div>
                <div class="mini-card">小智（智能助手）</div>
                <div class="mini-card">PPTX生成教案</div>
            </div>
        </div>
    </main>
    <div style="width: 100%; max-width: 1200px; margin: 6% auto 2% auto; text-align: left; font-size: 2.6rem; font-weight: bold; color: #fff; letter-spacing: 0.08em; padding-left: 1rem;">AI 驱动的人群密度动态监测与计数</div>
    <div id="people-carousel" style="width: 100%; max-width: 1200px; margin: 0 auto 4% auto; position: relative; overflow: hidden; border-radius: 1.2rem; background: #111; aspect-ratio: 16/9;">
        <img id="carousel-img-1" src="/static/images/all_people/1.png" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; background: #111; transition: opacity 1.5s cubic-bezier(0.4,0,0.2,1); opacity: 1; z-index: 2;" alt="人员检测示例1">
        <img id="carousel-img-2" src="/static/images/all_people/2.png" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; background: #111; transition: opacity 1.5s cubic-bezier(0.4,0,0.2,1); opacity: 0; z-index: 1;" alt="人员检测示例2">
    </div>

    <div id="qrModal" style="display:none;position:fixed;z-index:2000;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.7);justify-content:center;align-items:center;">
        <div style="background:#19191c;border-radius:1rem;padding:2rem 1.5rem;box-shadow:0 4px 32px #000a;display:flex;flex-direction:column;align-items:center;max-width:90vw;max-height:90vh;">
            <img src="{{ url_for('static', filename='qr_code/my_wechat_qr_code.jpg') }}" alt="微信二维码" style="max-width:60vw;max-height:60vh;border-radius:0.5rem;">
            <button id="closeQrModal" style="margin-top:1.5rem;background:none;border:none;color:#fff;font-size:1.2rem;cursor:pointer;">关闭</button>
        </div>
    </div>

    <script>
        var frontEndDomainName = "{{ front_end_domain_name }}";
        
        // 图片预加载函数
        function preloadImages() {
            const images = [
                '/static/icons/AiWorkShop_icon.png',
                '/static/icons/AiKeTangJiaoXuePingCeXiTong.png',
                '/static/images/all_people/1.png',
                '/static/images/all_people/2.png',
                '/static/images/all_people/3.png',
                '/static/images/all_people/4.png',
                '/static/images/all_people/5.png',
                '/static/images/all_people/6.png',
                '/static/qr_code/my_wechat_qr_code.jpg'
            ];
            
            images.forEach(src => {
                const img = new Image();
                img.src = src;
            });
        }

        // 页面加载完成后预加载所有图片
        window.addEventListener('load', preloadImages);
        
        function showQrModal() {
            document.getElementById('qrModal').style.display = 'flex';
        }
        function hideQrModal() {
            document.getElementById('qrModal').style.display = 'none';
        }
        document.getElementById('closeQrModal').onclick = hideQrModal;
        document.getElementById('qrModal').onclick = function(e) {
            if (e.target === this) hideQrModal();
        };
        document.querySelectorAll('.nav-links a[href="/contact"], .nav-links a[href="/suggest"]').forEach(function(el) {
            el.onclick = function(e) {
                e.preventDefault();
                showQrModal();
            };
        });
        document.getElementById('nav-center-link').onclick = function(e) {
            e.preventDefault();
            window.location.href = frontEndDomainName + '/navigation_page';
        };
        document.getElementById('experience-link').onclick = function(e) {
            e.preventDefault();
            window.location.href = frontEndDomainName + '/navigation_page';
        };
        var carouselImgs = [
            '/static/images/all_people/1.png',
            '/static/images/all_people/2.png',
            '/static/images/all_people/3.png',
            '/static/images/all_people/4.png',
            '/static/images/all_people/5.png',
            '/static/images/all_people/6.png'
        ];
        var idx = 0;
        var img1 = document.getElementById('carousel-img-1');
        var img2 = document.getElementById('carousel-img-2');
        var showingFirst = true;
        setInterval(function() {
            var nextIdx = (idx + 1) % carouselImgs.length;
            if (showingFirst) {
                img2.src = carouselImgs[nextIdx];
                img2.style.opacity = 1;
                img1.style.opacity = 0;
            } else {
                img1.src = carouselImgs[nextIdx];
                img1.style.opacity = 1;
                img2.style.opacity = 0;
            }
            idx = nextIdx;
            showingFirst = !showingFirst;
        }, 3000);
    </script>
</body>
</html>
